<template>
<div class="wlec">
  <h2>欢迎回来，{{user.studentname}}</h2>
</div>
</template>

<script>
import {mapState} from 'vuex';
    export default {
        name:'StuWelcome',
        computed:{
            ...mapState('userOptions',['user']),
        },
        
    }
</script>

<style>

h2 {
    text-align: center;
    font-size: 60px;
   
}
</style>